import request from '@/utils/request'

export function getNowData() {
  return request({
    url: '/work/competitionorderreferee/getNowData',
    method: 'get'
  })
}

export function getAllData() {
  return request({
    url: '/work/competitionorderreferee/getAllData',
    method: 'get'
  })
}

export function submitscore(data) {
  return request({
    url: '/work/competitionorderreferee/submitScore',
    method: 'post',
    data:data
  })
}

export function applyscore(params) {
  return request({
    url: '/work/competitionorderreferee/applyUpdateScore',
    method: 'get',
    params:params
  })
}

export function agreescore(params) {
  return request({
    url: '/work/competitionorderreferee/approveUpdateScore',
    method: 'get',
    params:params
  })
}